//
//  MJ_SegmentButtonView.h
//  UEAssistant
//
//  Created by mac on 2018/1/3.
//  Copyright © 2018年 youyixinxi. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    MJSegmentTypeWaitOrder,//待接单
    MJSegmentTypeOngoing,//进行中
    
    MJSegmentTypeTranslation,//试译中
} MJSegmentType;

@protocol MjSegmentViewDelegate <NSObject>

- (void)clickSegmentBtnWithType:(MJSegmentType)type;

@end

@interface MJ_SegmentButtonView : UIView

@property (weak, nonatomic)id <MjSegmentViewDelegate> delegate;

@property (assign, nonatomic)NSInteger selectedIndex;

@property (assign, nonatomic)BOOL isGroupSelected;

@end
